package com.ht.pms.core.service;

import com.ht.pms.core.dto.send.*;

import java.util.Date;
import java.util.Map;

public interface SalaryEmailService {
    void sendSalaryEmail(SendSalaryReq dto) throws Exception;

    Map<String, Object> createSendSalaryData(String code) throws Exception;


//    SalaryAccessDto accessSendEmail(String code, String sendType);

    Map<String, Object> createSendSalaryDataInner(String jobCode, String batchCode, int sendType) throws Exception;

    void sendEmailAsync(SendBaseDto sendBaseDto, SendGroupTempDto sendGroupTempDto,int threadNumber);

    void sendRecall(String type, String jobCode, String batchCode, int sendType) throws Exception;

    CountSendNumberDto countSendNumber(String batchCode) throws Exception;

    Map<String, String> createAccessUrl(String jobCode, String batchCode, int sendType,int type);

    void updateEndTime(String batchCode,String endTime)throws Exception;
}
